import java.util.HashMap;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

/**
 * @author honway.liu
 * @date 2019-02-24 14:59
 * @email gm100861@gmail.com
 * @blog http://linuxsogood.org
 */
public class Demo {
    public static void main(String[] args) {
        Map<String, String> map = new HashMap<>(18);
        map.put("a", "z");
        System.out.println(map.get("a"));
        map.put("b", "c");
        map.put("c", "c");
        map.put("d", "c");
        map.put("e", "c");
        map.put("f", "c");
        map.put("g", "c");
        map.put("h", "c");
        map.put("j", "c");
        map.put("k", "c");
        map.put("l", "c");
        map.put("m", "c");
        map.put("n", "c");
        map.put("o", "c");
        map.put("p", "c");
        map.put("q", "c");
        map.put("r", "c");
        map.put("s", "c");
        map.put("t", "c");
        map.put("u", "c");
        map.put("v", "c");
        map.put("w", "c");
        map.put("x", "c");
        map.put("y", "c");
        map.put("z", "c");
        RunnerTask task = new RunnerTask();
        ConcurrentHashMap<Object, Object> hashMap = new ConcurrentHashMap<>();
        Thread t1 = new Thread(task, "thread-1");
        Thread t2 = new Thread(task, "thread-2");
        t1.start();
        t2.start();
    }
}
